package com.tencreat.domain.mall.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 商品审核入参
 * @author zixin
 */
@Data
public class MallGoodsAuditDTO {

    @ApiModelProperty("ID")
    @NotNull
    private Long id;

    @ApiModelProperty("审核状态0|驳回,1|通过")
    @NotNull
    @Min(value = 0)
    @Max(value = 1)
    private Integer status;

    @ApiModelProperty("当前价格")
    private BigDecimal retailPrice;

    @ApiModelProperty("审核意见")
    private String auditOpinion;

}
